//
//  MessageModel.h
//  shusheng
//
//  Created by rimi on 16/7/11.
//  Copyright © 2016年 yuying. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef enum:NSUInteger{
    kMessageTypeMe,
    kMessageTypeOther,
} MessageType;

@interface MessageModel : NSObject

@property (nonatomic,strong) NSString *text;
@property (nonatomic,strong) NSString *time;
@property (nonatomic,assign) MessageType type;

// 创建遍历构造器
- (instancetype)initWithMessageDic:(NSDictionary *)dict;

// 快速返回模型数组
+ (NSArray *)messages;

@end
